package hu.bme.aut.consulttime.client;

import hu.bme.aut.consulttime.entitydtos.LogDTO;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface LogServiceAsync {
	
	public void createLog(LogDTO logDTO, AsyncCallback<Long> callback);

	public void retrieveLog(long logId, AsyncCallback<LogDTO> callback);   

	public void retrieveLogs(long toDoId, AsyncCallback<List<LogDTO>> callback);

	public void updateLog(LogDTO logDTO, AsyncCallback<Long> callback);

	public void deleteLog(long logId, AsyncCallback<Long> callback);
	
}
